package cn.wzy.service;


import cn.wzy.pojo.Department;
import cn.wzy.results.ResponseResult;
import cn.wzy.vo.GoPageVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * (TDepartment)表服务接口
 *
 * @author makejava
 * @since 2022-12-08 13:53:15
 */
public interface DepartmentService extends IService<Department> {


    ResponseResult getDepartments(Long id);

    ResponseResult saveDepartment(Department department);

    ResponseResult deleteDepartment(Long id);

    ResponseResult getDepartmentsPage(GoPageVo goPageVo);

    ResponseResult deleteDepartmentList(List<Long> ids);

    ResponseResult getDepLevel();

    ResponseResult getDepThreeLevel();

}
